#ifndef CEXCELTOOL_H
#define CEXCELTOOL_H

#include <QVector>
#include <QString>

class IExcelLoader
{
public:
    virtual void loadExcel(QVector<QVector<QString>> vecData) = 0;
};

class CExcelTool
{
public:
    static void loadExcel(QString strSheetName,IExcelLoader* pLoader);
    static void exportExcel(QString strSheetName,QVector<QVector<QString>> vecData);
    static void loadExcel2(QString strSheetName, IExcelLoader *pLoader);
private:
    static QString convertFromNumber(int number);
};

#endif // CEXCELTOOL_H
